package com.op.utils;

public class IntKey {

    public int _value;

    public IntKey(int id) {
        _value = id;
    }

    public IntKey() {
    }

    public IntKey set(int id) {
        _value = id;
        return this;
    }

    @Override
    public int hashCode() {
        return _value;
    }

    @Override
    public boolean equals(Object o) {
        return (o instanceof IntKey) && (_value == ((IntKey) o)._value);
    }
}
